package com.easy.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.easy.common.bean.OrderItem;


import java.util.List;

/**
* @author BLNYZYKER
* @description 针对表【order_item(订单明细表（子订单）)】的数据库操作Service
* @createDate 2025-09-09 10:11:21
*/
public interface OrderItemService {
    OrderItem getOrderItemById(Integer id);
    OrderItem getOrderItemByName(String name);
    int addOrderItem(OrderItem orderItem);
    int updateOrderItem(OrderItem orderItem);
    int deleteOrderItem(Integer id);
    List<OrderItem> getAll(OrderItem orderItem);
    IPage<OrderItem> getPage(OrderItem orderItem, IPage<OrderItem> page);

}
